let local = 1; // 1 正式  2 业务测试  3本地
let BASE;
let BASE_URL;
let IMAGE_URL;
let Setting_URL;
switch (local) {
	case 1: // 正式
		BASE = '';
		BASE_URL = BASE + 'https://www.findoma.com/api/advert/'; 	//登录
		IMAGE_URL = BASE + 'https://www.findoma.com/file/'; 		//图片
		Setting_URL = BASE + 'https://www.findoma.com/file/'; 		// 更新版本
		break
	case 2: // 业务测试
		BASE = '';
		BASE_URL = BASE + 'http://192.168.100.100/api/advert/';
		IMAGE_URL = BASE + 'http://192.168.100.100/file/';
		Setting_URL = BASE + 'http://192.168.100.100/file/';
		break
	case 3: // 本地联调
		BASE = '';
		BASE_URL = BASE + 'http://192.168.100.4:8085/advert/api/';
		IMAGE_URL = BASE + 'http://192.168.100.4:8085/advert/api/';
		Setting_URL = BASE + 'http://s0.z100.vip:18333/file/';
		break
}

const URL = {
	CASEIMAGE_URL: IMAGE_URL,
	Setting: Setting_URL,
	BASE_URL: BASE_URL
}

export default URL;
